This tutorial shows how to use Text Editor to create "JAVA Console Application".
Console application uses command line to interact with the user.
D:\Test\Java\Test.java Command Prompt
Open Text Editor
(Paste below code)
Save as: D:\Temp\Test.java
Test.java
public class Test {
public static void main(String[] args) {
System.out.println("Hello");
}
}